def count_vowels(s):
    """统计字符串中元音字母的个数(考虑大小写的元音)"""
    vowels = {'a', 'e', 'i', 'o', 'u', 'A', 'E', 'I', 'O', 'U'}
    count = 0
    for char in s:
        if char in vowels:
            count += 1
    return count

# 测试
if __name__ == "__main__":
    s = "Hello World"
    print(count_vowels(s))  # 输出: 3（e, o, o）

    dic1 = {"name":"lzq","address":"XJ"}
    print("name" in dic1, "name1" in dic1)  #True False